﻿<Window x:Class="chatWindowsTabs"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="chatWindowsTabs" Height="300" Width="300">
    <TabControl HorizontalAlignment="Stretch"  Name="TabControl1" VerticalAlignment="Top"  VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" >
        <TabItem Header="TabItem1" Name="TabItem1">
               <Grid x:Name="LayoutRoot">
        
        <Grid.RowDefinitions>
            <RowDefinition Height="221*" />
            <RowDefinition Height="40*" />
        </Grid.RowDefinitions>
        <ScrollViewer VerticalScrollBarVisibility="Auto" Grid.RowSpan="2" Margin="0,0,0,22">
            <StackPanel Height="Auto" HorizontalAlignment="Left" Margin="10,10,0,0" Name="StackPanel1" VerticalAlignment="Top" Width="256">
            </StackPanel>
        </ScrollViewer>
        <TextBox VerticalAlignment="Bottom" Grid.Row="1" Margin="2,5,2,5" x:Name="chatBox" TextWrapping="WrapWithOverflow"></TextBox>
       
    </Grid>

        </TabItem>
    </TabControl>

</Window>
